import { roleService } from '../services/role.service';
import { RoleCreateDto, RoleListDto, RoleSingleDto, RoleUpdateDto } from '../dtos/role.dto';
import { BaseController } from './.controller';
import RoleModel from '../models/role.model';

class RoleController extends BaseController<RoleModel, RoleListDto, RoleSingleDto, RoleCreateDto, RoleUpdateDto> {
  constructor() {
    super(roleService);
  }
}

export const roleController = new RoleController();
